﻿using CommonType;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace S_Incident.Domains.WorkflowEngine
{
    /// <summary>
    /// 表单管理表
    /// </summary>
    [SugarTable("FormManagement")]
    public class FormManagement: BaceEntity
    {
        /// <summary>
        /// 表单管理Id
        /// </summary>
        [SugarColumn(IsPrimaryKey=true, IsIdentity=true)]
        public int Id { get; set; }
        /// <summary>
        /// 表单名称
        /// </summary>
        [SugarColumn(ColumnDescription ="表单名称",Length =200,IsNullable =true)]
        public string ?FormName { get; set; }
        /// <summary>
        /// 表单描述
        /// </summary>
        [SugarColumn(ColumnDescription = "表单描述", Length = 200, IsNullable = true)]
        public string? FormDescribe { get; set; }
        /// <summary>
        /// 选择行业
        /// </summary>
        [SugarColumn(ColumnDataType = "INT", IsNullable = false)]
        public Industry SelectIndustry { get; set; }
        /// <summary>
        /// 选择大类
        /// </summary>
        [SugarColumn(ColumnDescription ="选择大类",Length =250,IsNullable =true)]
        public string? SelectiveCategory { get; set; }
        /// <summary>
        /// 选择小类
        /// </summary>
        public int SelectiveSubclass { get; set; }
    }
}
